package com.emr.module.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.emr.common.base.BaseEntity;

/**
 * 出院或死亡表 case_deahtdis
 * 
 * @author emr
 * @date 2019-02-21
 */
public class Deahtdis extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 病人id */
	private Integer bingrenId;
	/** 出院1，死亡2 */
	private Integer code;
	/** 病人状态 */
	private String bingrenzt;
	/** 治疗结果 */
	private String zhiliaojieguo;
	/** 是否允许出院 */
	private String yunxuchuyuan;
	/** 死亡时间 */
	private String siwangdate;
	/** 死亡地点 */
	private String siwangaddress;
	/** 家属是否认领 */
	private String shifourenling;
	/** 认领人 */
	private String renlingName;
	/** 认领手机号 */
	private String renlingPhone;
	private String patientName;
	private String codes;
	

	public String getPatientName() {
		return patientName;
	}

	public void setPatientName(String patientName) {
		this.patientName = patientName;
	}

	public String getCodes() {
		return codes;
	}

	public void setCodes(String codes) {
		this.codes = codes;
	}

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setBingrenId(Integer bingrenId) 
	{
		this.bingrenId = bingrenId;
	}

	public Integer getBingrenId() 
	{
		return bingrenId;
	}
	public void setCode(Integer code) 
	{
		this.code = code;
	}

	public Integer getCode() 
	{
		return code;
	}
	public void setBingrenzt(String bingrenzt) 
	{
		this.bingrenzt = bingrenzt;
	}

	public String getBingrenzt() 
	{
		return bingrenzt;
	}
	public void setZhiliaojieguo(String zhiliaojieguo) 
	{
		this.zhiliaojieguo = zhiliaojieguo;
	}

	public String getZhiliaojieguo() 
	{
		return zhiliaojieguo;
	}
	public void setYunxuchuyuan(String yunxuchuyuan) 
	{
		this.yunxuchuyuan = yunxuchuyuan;
	}

	public String getYunxuchuyuan() 
	{
		return yunxuchuyuan;
	}
	public void setSiwangdate(String siwangdate) 
	{
		this.siwangdate = siwangdate;
	}

	public String getSiwangdate() 
	{
		return siwangdate;
	}
	public void setSiwangaddress(String siwangaddress) 
	{
		this.siwangaddress = siwangaddress;
	}

	public String getSiwangaddress() 
	{
		return siwangaddress;
	}
	public void setShifourenling(String shifourenling) 
	{
		this.shifourenling = shifourenling;
	}

	public String getShifourenling() 
	{
		return shifourenling;
	}
	public void setRenlingName(String renlingName) 
	{
		this.renlingName = renlingName;
	}

	public String getRenlingName() 
	{
		return renlingName;
	}
	public void setRenlingPhone(String renlingPhone) 
	{
		this.renlingPhone = renlingPhone;
	}

	public String getRenlingPhone() 
	{
		return renlingPhone;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bingrenId", getBingrenId())
            .append("code", getCode())
            .append("bingrenzt", getBingrenzt())
            .append("zhiliaojieguo", getZhiliaojieguo())
            .append("yunxuchuyuan", getYunxuchuyuan())
            .append("siwangdate", getSiwangdate())
            .append("siwangaddress", getSiwangaddress())
            .append("shifourenling", getShifourenling())
            .append("renlingName", getRenlingName())
            .append("renlingPhone", getRenlingPhone())
            .toString();
    }
}
